package com.hui;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan(basePackages = "com.hui.mapper")
//扫描所有包 主要是相关组件包
@ComponentScan(basePackages = {"com.hui","org.n3r.idworker"})
public class Application {
    //**主类
    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
